package demo2;

import demo1.A;

public class Test2 {
    public static void main(String[] args) {
        Com c = new E();
        c.cry();
    }
}
interface Com {
    abstract void cry();       //【1】
    public int x = 0;          //【2】
}
abstract class Animal implements Com {
    public abstract void cry();
}
class E extends Animal {

    @Override
    public void cry() {

    }
}